import type { Component } from 'vue' //import type 是用来协助进行类型检查和声明的，在运行时是完全不存在的。


// 年月日
import datetimePicker from '@/components/uv/datetimePicker.vue'
//年月日 - 范围
import datetimePickerRange from "@/components/uv/datetimePickerRange.vue";
//Picker
import pickerCom from "@/components/uv/picker.vue";
//饼图
import pieCom from "@/components/uCharts/pie.vue";
//柱状图
import barCom from "@/components/uCharts/bar.vue";
//折线图
import lineCom from "@/components/uCharts/line.vue";



// ✨如果使用的是 JS 可以删除类型校验
const components: {
  [propName: string]: Component //字面量类型，每个属性值类型为组件的类型
} = {
  datetimePicker, datetimePickerRange, pickerCom, pieCom, barCom, lineCom
}

export default components